Update last_stamp inside the look. (#336771, Morten Welinder)
authorBehdad Esfahbod <behdad@gnome.org>
Sat, 1 Apr 2006 00:44:55 +0000 (00:44 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Sat, 1 Apr 2006 00:44:55 +0000 (00:44 +0000)
2006-03-31  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkrecentmanager.c (gtk_recent_info_last_application): Update
        last_stamp inside the look. (#336771, Morten Welinder)

ChangeLog
ChangeLog.pre-2-10
gtk/gtkrecentmanager.c

index 619bfa3751841f2fba437d8e1c67c702b9ea13bc..b39200b46d78838a516c01de5a01e278b222dfff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-31  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gtk/gtkrecentmanager.c (gtk_recent_info_last_application): Update
+       last_stamp inside the look. (#336771, Morten Welinder)
+
 2006-03-31  Behdad Esfahbod  <behdad@gnome.org>
 
        * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_get_property):
index 619bfa3751841f2fba437d8e1c67c702b9ea13bc..b39200b46d78838a516c01de5a01e278b222dfff 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-31  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gtk/gtkrecentmanager.c (gtk_recent_info_last_application): Update
+       last_stamp inside the look. (#336771, Morten Welinder)
+
 2006-03-31  Behdad Esfahbod  <behdad@gnome.org>
 
        * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_get_property):
index f4ae79fb1e886568f2d756bfc166645f23ce71de..de6ddaed0b915732e80e8e120d197dae12506e42 100644 (file)
@@ -1887,7 +1887,10 @@ gtk_recent_info_last_application (GtkRecentInfo  *info)
       RecentAppInfo *ai = (RecentAppInfo *) l->data;
       
       if (ai->stamp > last_stamp)
-        name = ai->name;
+        {
+         name = ai->name;
+         last_stamp = ai->stamp;
+       }
     }
   
   return g_strdup (name);